package io;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("./fos.txt");
        fos.write(97);

        //写所有小写字母
       // for (int i=0;i<=26;i++){
        //写出所有ASC字符
        for (int i=0;i<128;i++){
            fos.write(i);
            System.out.println("写出完毕");
            fos.close();
        }
    }
}
